#include <string>
#include <iostream>
#include <list>

#include "E_Meeting.h"

using namespace std;

#ifndef Day_H_
#define Day_H_

class Day
{
public:
	//Default Constructor
	Day();
	//Destructor
	virtual ~Day();
	//Copy Constructor
	Day(const Day& day);
	//Constructor for regular meetings
	Day(const int day);
	//Operator '=' overloading
	const Day& operator=(const Day& d);

	int getDay() const;
	const bool addMeeting( Meeting &meeting);
	const bool delMeeting(const Meeting &meeting);
	void printMeetings() const;
	const bool findOverlap(const Meeting &meeting) const;
	Meeting* findMeeting(const float start_t) const;

protected:
	int day;
private:
	std::list<Meeting *> *meetings;
	const Day& assign(const Day& d);
};

#endif
